package com.cq.health.service.impl;


import com.alibaba.dubbo.config.annotation.Service;
import com.cq.health.service.UserService;
import lombok.extern.slf4j.Slf4j;

/**
 * @ProjectName: health_project
 * @Package: com.cq.health.service.impl
 * @ClassName: UserServiceImpl
 * @Author: 悠久的苍穹
 * @Description: ${description}
 * @Date: 2020/5/6 16:22
 * @Version: 1.0
 */
@Service
@Slf4j
public class UserServiceImpl implements UserService{

    @Override
    public boolean login(String username, String password) {
//        System.out.println("service_provide...u:"+username+" p:"+password);
        log.debug("u:{},p:{}",username,password);
        if("admin".equals(username) && "123".equals(password)){
            return true;
        }
        return false;
    }
}
